package hust.ioic.oa.domain;

import java.util.HashSet;
import java.util.Set;

// 部门表
public class Department {
	private Integer id;
	private String name; // 部门名称

	private String remark; // 备注

	private Department parent;
	private Set<Department> children = new HashSet<>();
	private Set<Operator> operators = new HashSet<>();
	private Set<Rdfile> rdfiles = new HashSet<>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Set<Operator> getOperators() {
		return operators;
	}

	public void setOperators(Set<Operator> operators) {
		this.operators = operators;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Department getParent() {
		return parent;
	}

	public void setParent(Department parent) {
		this.parent = parent;
	}

	public Set<Department> getChildren() {
		return children;
	}

	public void setChildren(Set<Department> children) {
		this.children = children;
	}

	public Set<Rdfile> getRdfiles() {
		return rdfiles;
	}

	public void setRdfiles(Set<Rdfile> rdfiles) {
		this.rdfiles = rdfiles;
	}

}
